package day3.demo2_后台线程;

public class Test {
    public static void main(String[] args) {
        Thread d = new Thread(new MyDaemon());
        d.setDaemon(true);
        d.start();

        new Thread(new MyTask()).start();
    }
}
